#{extends 'CRUD/layout.html' /}

<div id="crudIndex">

	<h2>&{'crud.index.title'}</h2>

	<table>
		<thead>
			<tr>
				<th>&{'crud.index.objectType'}</th>
				<th width="20%">&{'crud.index.action'}</th>
			</tr>
		</thead>
		<tbody>
			#{crud.types}
			<tr>
				<td><a href="${type.listAction}">&{type.name}</a></td>
				<td class="crudNew"><a href="${type.blankAction}">&{'crud.index.add',
						type}</a></td>
			</tr>
			#{/crud.types}
			<tr>
				<td><a href="http://localhost:9000/systemadmin/logview">Log
						view</a></td>
				<td></td>
			</tr>
			<tr>
				<td><a href="http://localhost:9000/systemadmin/assignrole">Assign
						Roles</a>
				</td>
				<td></td>
			</tr>

		</tbody>
	</table>

</div>